﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GoodsAddJB.aspx.cs" Inherits="Company_GoodsAddJB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加基本药物商品</title>
    <link href="../System/css.css" rel="stylesheet" type="text/css" />
    <link href="../styles/global.css" rel="stylesheet" type="text/css" />

    <script src="../Common/yz.js" type="text/javascript"></script>

    <link href="../styles/style4.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="98%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 4px">
                    <img src="../images/intro_left.gif" width="4" height="34">
                </td>
                <td class="intro_wordbg">
                    添加基本药物商品
                </td>
                <td background="../images/intro_bg.gif">
                    <img src="../images/intro_right.jpg" width="118" height="34">
                </td>
            </tr>
        </table>
        <table id="tabData" width="98%" border="0" cellpadding="2" cellspacing="1">
            <tr>
                <td align="right">
                    品目号：
                </td>
                <td>
                    <asp:TextBox ID="txtProductCode" runat="server" InvertedComma="品目号" NumericOnlyZS="品目号"></asp:TextBox>
                </td>
                <td align="right">
                    药品名称：
                </td>
                <td>
                    <asp:TextBox ID="txtProductName" runat="server" InvertedComma="通用名"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    剂型：
                </td>
                <td>
                    <asp:TextBox ID="txtMedicinemodel" runat="server" InvertedComma="剂 型"></asp:TextBox>
                </td>
                <td align="right">
                    规格：
                </td>
                <td>
                    <asp:TextBox ID="txtOutlook" runat="server" InvertedComma="规 格"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    单位：
                </td>
                <td>
                    <asp:TextBox ID="txtunit" runat="server" InvertedComma="单位"></asp:TextBox>
                </td>
                <td>
                    <asp:Button ID="Button5" runat="server" CssClass="button_80" Text="查 询" OnClientClick="javascript:return YZ(form);" />
                </td>
            </tr>
        </table>
        <asp:GridView ID="GridView1" runat="server" Width="98%" AutoGenerateColumns="False"
            BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px"
            CellPadding="4" CssClass='table_table' HeaderStyle-CssClass='table_title' OnRowDataBound="GridView1_RowDataBound"
            OnRowCommand="GridView1_RowCommand">
            <Columns>
                <asp:BoundField DataField="productid" HeaderText="品目号" />
                <asp:BoundField DataField="productname" HeaderText="药品名称" />
                <asp:BoundField DataField="medicinemodel" HeaderText="剂 型" />
                <asp:BoundField DataField="outlookc" HeaderText="规 格" />
                <asp:BoundField DataField="unit" HeaderText="单位" />
                <asp:BoundField DataField="memo1" HeaderText="零售指导价格" />
                <asp:HyperLinkField HeaderText="添加" DataNavigateUrlFormatString="CompanyGoodsAdd.aspx?ProductId={0}"
                    Text="添加" DataNavigateUrlFields="ProductId" Target="_blank" />
                <asp:TemplateField HeaderText="修改" Visible="false">
                    <ItemTemplate>
                        <asp:LinkButton ID="lbtnDel" runat="server" CommandName="Del" OnClientClick="return  confirm('确认要删除此行信息吗？');"
                            CommandArgument='<%#Eval("productid") %>' Text="删除" OperateType="删除">
                        </asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="IScompanyADD" HeaderText="是否是增补" />
                <asp:BoundField DataField="accountadd" HeaderText="增补人" />
               
            </Columns>
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <RowStyle BackColor="White" ForeColor="#003399" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" CssClass="table_title" />
        </asp:GridView>
        <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
    </div>
    </form>
</body>
</html>
